<template>
    <el-scrollbar height="100%" :wrap-style="{ background: '#2d3a4b' }">
        <div class="logo">
            <img src="@/assets/image/3.png">
            <span class="title" v-show="store.collapse">后台中心</span>
        </div>
        <Menu></Menu>
    </el-scrollbar>
</template>

<script setup>
import Menu from './Menu.vue'
import { useMenuStore } from '@/store/menu/index.js'
const store = useMenuStore()

</script>

<style lang="scss" scoped>
.logo {
    height: 60px;
    line-height: 60px;
    width: 100%;
    color: #fff;
    align-items: center;
    justify-content: center;
    display: flex;
    text-align: center;
    gap: 1.5rem;
    margin: 10px 0;

    img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }

    .title {
        // margin-left: 5px;
        font-size: 24px;
        font-family: '黑体';
        line-height: 60px;
        font-weight: bold;
    }
}
</style>